total trajectory length